package com.uw.scenic.config.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

//@EnableDiscoveryClient
//@SpringBootApplication
//标识当前的应用是zuul server
@EnableZuulProxy
//组合了SpringBootApplication+EnableDiscoveryClient+EnableCircuitBreaker
@SpringCloudApplication
public class GatewayApplication {

	public static void main(String[] args) {
		SpringApplication.run(GatewayApplication.class, args);
	}

}
